<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script type="text/javascript" src="function.js">


    </script>
</head>

<body>
    用户名：<input type="text" id="usr">
    <br>
    密码：<input type="password" id="pwd">
    <input type="button" value="取消" onclick="my_button1(0);">

    <input type="button" value="登录" onclick="my_button1(1);">
    <br>
    <select onchange="hero_fun()" id="hero">
        <option value ="volvo">Volvo</option>
        <option value ="saab">Saab</option>
        <option value="opel">Opel</option>
        <option value="audi">Audi</option>
      </select>

</body>

</html>